package com.lyh.system.domain.resp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.lyh.common.annotation.Excel;
import com.lyh.common.core.domain.entity.SysUser;
import com.lyh.system.domain.Order;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "业绩返回")
@Data
public class UserIncomeResp  {

    @ApiModelProperty(example = "用户账号")
    @Excel(name="")
    String userName;

    @ApiModelProperty(example = "姓名")
    @Excel(name="")

    String nickName;
    @ApiModelProperty(example = "会员id")
    @Excel(name="")
    String memberId;

    private Integer memberLeve;

    //会员等级
    private String memberLeveName;

    //门店长等级
    private String mstoreLeve;

    private String mstoreLeveNmae;

    @ApiModelProperty(example = "线上订单数")
    @Excel(name="")
    Integer onlineNum = 0;

    @ApiModelProperty(example = "门店订单数")
    @Excel(name="")
    Integer storeNum = 0;
    @ApiModelProperty(example = "预约次数")
    @Excel(name="")
    Integer purchaseNum = 0;
    @ApiModelProperty(example = "预约金额")
    @Excel(name="")
    BigDecimal purchaseMoney =new BigDecimal(0);

    @Excel(name="")
    @ApiModelProperty(example = "人员类型")
    private String personTypeName;

    @ApiModelProperty(example = "人员类型")
    private Integer personType;


    private Long userId;

    List<Order> item;

}

